<template>
  <div id="app">
    <keep-alive include="Home,CategoryList">
      <router-view />
    </keep-alive>
    <!-- 判断哪些路由需要显示tabbar -->
    <MyTabBar v-if="$route.meta.isShowTabBar"></MyTabBar>
  </div>
</template>

<script>
import MyTabBar from "@/components/TabBar/MyTabBar.vue";
export default {
  components: {
    MyTabBar,
  },
};
</script>
<style lang="less">
html {
  font-size: 100px;
}
body {
  font-size: 0.14rem;
}
html,
body {
  background-color: #f7f8fa;
}
</style>
